package com.twu.biblioteca;


public class Logout implements Task {
    LoginManager loginManager;
    String libraryNo;
    Logout(LoginManager loginManager){
        this.loginManager=loginManager;
    }

    @Override
    public void execute() throws Exception {
        loginManager.logout();
        System.out.println("successfully logged out");

    }
}
